Fix the native JSON support code
authorEli Zaretskii <eliz@gnu.org>
Sat, 30 Mar 2024 16:33:23 +0000 (19:33 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 30 Mar 2024 16:33:23 +0000 (19:33 +0300)
commit000f919b3c7779609dc43773fdc49aca9b50d76f
tree6bdbd467f9993722f76885de61b8a280bd0b9d32
parent1135ce461d188869e0294af45641edc2cbfacbf0
Fix the native JSON support code

* src/Makefile.in (base_obj): Add the missing json.o.  Without
this, we get link error.
* src/json.c (json_serialize): Don't use too sophisticated C99
features, as they confuse make-docfile.  Initialize all the
members explicitly.
src/Makefile.in
src/json.c